package com.qydp.provider.impl;

import com.qydp.common.service.UserService;
import com.qydp.rpc.registry.ServiceRegistry;
import com.qydp.rpc.server.VertxHttpServer;

/**
 * @author shuSheng
 * @description
 * @since 2024-07-16 10:24
 */
public class RpcProviderExample {
    public static void main(String[] args) {

        ServiceRegistry.register(UserService.class.getName(), UserServiceImpl.class);

        VertxHttpServer vertxHttpServer = new VertxHttpServer();
        vertxHttpServer.doStart(8081);
    }
}
